import request from '@/utils/request'

export function initData(url, params) {
  return request({
    url: url,
    method: 'get',
    headers: {
      'page-num': params.page,
      'page-size': params.size
      },
    params
  })
}
